package org.xiyinjihe.platform.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.xiyinjihe.platform.po.Visit;
import org.xiyinjihe.platform.po.VisitExample;
import org.xiyinjihe.platform.po.VisitWithBLOBs;

public interface VisitMapper {
    long countByExample(VisitExample example);

    int deleteByExample(VisitExample example);

    int deleteByPrimaryKey(Long id);

    int insert(VisitWithBLOBs record);

    int insertSelective(VisitWithBLOBs record);

    List<VisitWithBLOBs> selectByExampleWithBLOBs(VisitExample example);

    List<Visit> selectByExample(VisitExample example);

    VisitWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") VisitWithBLOBs record, @Param("example") VisitExample example);

    int updateByExampleWithBLOBs(@Param("record") VisitWithBLOBs record, @Param("example") VisitExample example);

    int updateByExample(@Param("record") Visit record, @Param("example") VisitExample example);

    int updateByPrimaryKeySelective(VisitWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(VisitWithBLOBs record);

    int updateByPrimaryKey(Visit record);
}